Component({

  properties: {
    show: {
      type: Boolean,
      value: false
    },
  },

  data: {
    input_money:''
  },
  
  attached: function () {
    
  },
  //锁屏
  methods: {
    //键盘传值到页面
    tapNum(event) {
      wx.vibrateShort({})
      this.triggerEvent('onKey',{keyboard:event.currentTarget.dataset.text} ,{})
    },

    //键盘传值到页面
    showKeyboard(event) {
      this.setData({
        show:!this.data.show
      })
      this.triggerEvent('show',{show:!this.data.show} ,{})
    },
    touchmove: function () {

    }
  },
})